$OpenBSD: patch-test_CMakeLists_txt,v 1.1.1.1 2013/03/21 08:30:22 zhuk Exp $
--- test/CMakeLists.txt.orig	Wed Jul 28 20:06:14 2010
+++ test/CMakeLists.txt	Sat Jun 30 18:57:26 2012
@@ -24,7 +24,7 @@ endif(COMMAND cmake_policy) 
 add_executable(blitztest ${blitztest_SRCS})
 
 target_link_libraries(blitztest ${QT_QTCORE_LIBRARY}
-${QT_QTGUI_LIBRARY} qimageblitz)
+${QT_QTGUI_LIBRARY} qimageblitz ${QT_QTCORE_LIB_DEPENDENCIES} ${QT_GUI_LIB_DEPENDENCIES} pthread)
 
 install(TARGETS blitztest DESTINATION ${BIN_INSTALL_DIR})
 
